<div class="pro_detail">
    <div class="hearders">
        <a onclick="$.ui.goBack()" class="goprev"></a>
        <i class="icon pro_img_prev" onclick="mySwipe.prev()"></i>
        <div id="mySwipe" style='margin:0 auto' class='swipe pro_swipe'>
            <div class="swipe-wrap messagewrap">
                <div><img src="images/p_p_b.png"></div>  
                <div><img src="images/p_p_b.png"></div> 
                <div><img src="images/p_p_b.png"></div>                             
            </div>
            <section>
                <h3>丹尼爱特真皮牛皮男包商务包休闲斜挎单肩手提公文包男</h3>
                <span>￥2319.00</span>
            </section>
         </div>
         <i class="icon pro_img_next" onclick="mySwipe.next()"></i>
         <!--<section>
            <h2>许愿宣言:</h2>
            <textarea placeholder="在这留着什么话吧"></textarea>            
         </section>-->                         
     </div>
     <a class="icon pro_detail">产品详情</a>
     <a class="button add_tree">添加到心愿树</a>
     <a class="button now_wish" data-transition="up" href="#tree">立即许愿</a>
     <div class="clear"></div>
</div>
<script>
function details_swiper(){			
	var elem = document.getElementById('mySwipe');
	window.mySwipe = Swipe(elem, {
	});;	
}
details_swiper();
window.setInterval(function(){
	if($("#mySwipe .swipe-wrap").width()==0){
		details_swiper();				  
	}
}, 200);
</script>